<template>
    <z-paging>
        <u-sticky>
            <view class="header_box">
                <hedsty :mrbot="'45'"  :headCentext="title"></hedsty>
            </view>
        </u-sticky>
        <view class="content" v-html="contentHtm"></view>
    </z-paging>
</template>

<script>
import hedsty from '../../components/hedsty.vue'
export default {
    components: {
        hedsty
    },
    data() {
        return {
            title: '',
            sta: '',
            contentHtm: ''
        }
    },
    onLoad(e) {
        this.sta = e.status
        this.title = e.title
    },
    onShow() {
        this.getprv()
    },
    methods: {
        getprv() {
            this.$Request.get(this.$api.agreen.contents + `/${this.sta}`).then(res => {
                this.contentHtm = res.data.content
            })
        }
    }
}
</script>

<style lang="scss" scoped>

.content {
    box-sizing: border-box;
    width: 100%;
    padding: 30rpx;
    color: #fff;
}
</style>